placesview: Set .error style if unsupported protocol
authorAntónio Fernandes <antoniof@gnome.org>
Sat, 24 Nov 2018 00:31:07 +0000 (00:31 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 14 Dec 2018 17:28:47 +0000 (12:28 -0500)
commit3bbfff9280106742df1c3c4582f07c6febffb392
tree3f16bd977427c71eaa5e9901a8a11d17d637fb0c
parent5b049364dcc1ecab1a0695d7bce82268ffd11d18
placesview: Set .error style if unsupported protocol

When the user types an address with a schema that is not supported,
the Connect button doesn't become sensitive, but there is no visible
feedback at all.

This feels unresponsive and leaves the user clueless.

While it doesn't help explain why the address doesn't work, this will
provide a hint that the input was acknowledged but doesn't work.

https://gitlab.gnome.org/GNOME/gtk/issues/1476
gtk/gtkplacesview.c